package com.fram.mapper;

import org.apache.ibatis.annotations.Param;

import com.fram.entity.Integral;
/**个人积分**/
public interface IntegralMapper {
	
    int deleteByPrimaryKey(Long id);

    int insert(Integral record);

    int insertSelective(Integral record);

    Integral selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Integral record);

    int updateByPrimaryKey(Integral record);
    
    /**积分总数根据用户id**/
    Integer selectByUserId(@Param("userId")Long userId);
}